package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ToString
public class Employee {
    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer age;

    private boolean admin;

    //private Long deptId;

    //关联
    private Department dept;

    //状态
    private boolean status;
    //角色集合
    private List<Role> roles = new ArrayList<>();

}